package com.itheima.service.impl;
import com.itheima.mapper.EmpMapper;
import com.itheima.pojo.Emp;
import com.itheima.service.EmpService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

//员工业务实现类
@Slf4j
@Service
public class EmpServiceImpl implements EmpService {
    @Autowired
        public EmpMapper empMapper;
    @Override
    public List<Emp> sb() {
        List<Emp> list=empMapper.sb();
        return list;
    }

    @Override
    public List<Emp> nt(Integer id) {
        List<Emp> list2=empMapper.nt(id);
        return list2;
    }

    @Override
    public List<Emp> rb() {
        List<Emp> list3=empMapper.rb();
        return list3;
    }

    @Override
    public List<Emp> bis(Integer id) {
        List<Emp> list4=empMapper.bis(id);
        return list4;
    }
}